<?php


namespace api\home\controller;


use api\home\model\BannerModel;
use cmf\controller\RestBaseController;

class BannerController extends RestBaseController
{
    public function getBannerList()
    {
        $banner = BannerModel::select();
        $this->success('轮播图列表',$banner);
    }
}